package com.y.server.service;

import com.y.pojo.dto.UserDto;
import com.y.pojo.entity.User;

    public interface UserService {

            /**
             * 注册新用户
             * @param userDto
             */
            void register(UserDto userDto);

            /**
             * 创建新用户
             * @param   userDto
             */
            User login(UserDto userDto);
        }

